Predicted pixel value generation procedure automatic producing method, image encoding method, image decoding method, apparatus therefor, programs therefor, and storage media which store the programs

ABSTRACT

An automatic producing method for a predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel. A parent population is generated by randomly producing predicted value generation procedures each of which is indicated by a tree structure, and a plurality of predicted value generation procedures are selected as parents from the parent population. One or more predicted value generation procedures are generated as children based on a predetermined tree structure developing method which subjects the selected predicted value generation procedures to a development where an existing predicted value generation function can be an end node of a tree. A predicted value generation procedure having a best estimation cost is selected from among the predicted value generation procedures as the parents and children, where the sum of an information content for representing the tree structure and an amount of code evaluated by a predicted pixel value obtained by the tree structure is used as an estimation cost. A final predicted value generation procedure is produced by iterating the relevant operation.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a 371 U.S. National Stage of International Application No. PCT/JP2009/005522, filed Oct. 21, 2009. This application claims priority to Japanese Patent Application No. 2008-275811, filed Oct. 27, 2008. The disclosures of the above applications are incorporated herein by reference.

TECHNICAL FIELD

The present invention relates to a predicted pixel value generation procedure automatic producing method for automatically producing a predicted pixel value generation procedure used for implementing highly accurate pixel value prediction, and a corresponding apparatus; an image encoding method for efficiently encoding an image by using the predicted pixel value generation procedure generated by the above method and a corresponding apparatus; an image decoding method for efficiently decoding encoded data generated by the relevant image encoding and a corresponding apparatus; programs used for implementing the above-described methods; and computer-readable storage media which store the programs.

Priority is claimed on Japanese Patent Application No. 2008-275811, filed Oct. 27, 2008, the contents of which are incorporated herein by reference.

BACKGROUND ART

In main streams of image encoding, each pixel value of an encoding target is predicted using previously-decoded former or upper pixels, and a prediction residual is encoded.

In such a prediction encoding method, when encoding a target pixel (called “p”) to be encoded, a predicted value for p is generated using a fact that peripheral previously-decoded pixels (e.g., Inw, In, Ine, and Iw in FIG. 14) have generally high correlation with p, and actually using such peripheral pixels. Below, a predicted value for p is called p′. In the next step, a prediction error p−p′ is subjected to entropy encoding.

For example, Lossless Mode in JPEG (see Non-Patent Document 1) has seven types of predictors, and one selected from among them is used for predicting and encoding a pixel value.

In an example called an “average prediction” as one of the methods in the JPEG predictors, prediction is performed by computing an average between In and Iw as follows:

x′=(In+Iw)/2  Formula (1)

There are also six other prediction methods (than the above) which include:

x′=In+Iw−Inw plane prediction  Formula (2)

x′=In previous value prediction  Formula (3)

x′=Inw+(In−Iw)/2 complex prediction  Formula (4)

JPEG-LS (see Non-Patent Document 2) having a higher level of efficiency than JPEG employs a slightly complicated prediction method called “MED prediction” as shown below.

if Inw≧max (Iw, In) then

x′=min(Iw,In)

else if≦Inw min (Iw, In) then

x′=max(Iw,In)

else

x′=Iw+In−Inw

where max (x, y) is a function that returns one of x and y which is larger, and mix (x, y) is a function that returns one of x and y which is smaller.

In addition, a method which defines a weighted average between peripheral pixels to be a predicted value is generally known. In a simplified method, the weight of each peripheral pixel may be computed by means of a least-square method for each image, or coefficient optimization for minimizing the relevant amount of code may be performed (see Non-Patent Document 3).

Additionally, although it does not belong to prediction encoding, Non-Patent Document 4 discloses encoding parameter optimization for image or video encoding, which employs a genetic algorithm (GA), where a “template” for generating a context which is used for encoding a binary image is modified using a genetic algorithm, thereby improving efficiency. That is, the template is treated as a parameter, and a fixed encoding procedure is used.

As a similar method relating directionality, Non-Patent Document 5 discloses using a genetic algorithm for dynamically changing a divided shape of a unit area to be encoded, thereby improving the relevant efficiency. Similar to the template in Non-Patent Document 4, the encoding procedure is fixed also in this case.

PRIOR ART DOCUMENT Non-Patent Document

-   Non-Patent Document 1: ISO/IEC SC29/WG1, ISO/IEC 10918-1 “Digital     compression and coding of continuous-tone still images”, p. 133,     1993 -   Non-Patent Document 2: M. Weinberger, G. Seroussi, and G. Sapiro,     “The LOCO-I Lossless Image Compression Algorithm: Principles and     Standardization into JPEG-LS”, IEEE Trans. Image Processing, Vol. 9,     No. 8, pp. 1309-1324, August 2000 -   Non-Patent Document 3: Ichiro Matsuda, Nau Ozaki, Yuji Umezu, and     Susumu Itoh, “Lossless Coding Using Variable Block-Size Adaptive     Prediction Optimized for Each Image”, Proceedings of 13th European     Signal Processing Conference (EUSIPCO 2005), WedAmPO3, September     2005 -   Non-Patent Document 4: Masaharu Tanaka, Hidenori Sakanashi, Masanobu     Mizoguchi and Tetsuya Higuchi, “Bi-level Image Coding for Digital     Printing Using Genetic Algorithm”, Proceedings of IEICE, D-II, Vol.     J83-D-II, No. 5, pp. 1274-1283, May 2000 -   Non-Patent Document 5: Koh'ichi Takagi, Atsushi Koike, Shuichi     Matsumoto, and Hideo Yamamoto, “Moving Picture Coding Based on     Region Segmentation Using Genetic Algorithm”, Proceedings of IEICE,     D-II, Vol. J83-D-II, No. 6, pp. 1437-1445, June 2000

DISCLOSURE OF INVENTION Problem to be Solved by the Invention

As described above, conventional prediction method have only flexibility for optimizing numeral parameters such as weights for each image, and “prediction procedure” for determining a pixel used for prediction computation or a formula used for condition branching is fixed.

That is, conventionally, a new prediction procedure can only be manually generated via a trial-and-error method by a human. Therefore, the structure of the corresponding predictor cannot have a complexity whose level exceeds the complexity understandable by humans.

Furthermore, there is no conventional method for newly producing a dedicated prediction procedure for each input image.

Additionally, in image processing, a target image to be processed (i.e., teacher information or resource) should be manually generated and provided by a human.

In light of the above circumstances, an object of the present invention is to provide a novel technique which contributes to highly efficient encoding and decoding, by implementing automatic computer production of a prediction procedure which is appropriately applied to an input image and can further reduce the relevant amount of code. Here, similar to the conventional prediction methods, the present invention also uses previously-decoded peripheral pixels so as to generate a predicted value.

Means for Solving the Problem <1> Structure of Predicted Pixel Value Generation Procedure Automatic Producing Apparatus of Present Invention

First, the structure of a predicted pixel value generation procedure automatic producing apparatus in accordance with the present invention will be explained.

A predicted pixel value generation procedure automatic producing apparatus in accordance with the present invention implements automatic production of a predicted value generation procedure for predicting a value of an encoding target pixel by using a previously-decoded pixel. The apparatus has a structure which includes:

(1) a first device that generates a parent population by randomly producing predicted value generation procedures each of which is indicated by a tree structure; (2) a second device that selects a plurality of predicted value generation procedures as parents from the parent population, and produces one or more predicted value generation procedures as children based on a predetermined tree structure developing (or evolving) method which subjects the selected predicted value generation procedures to a development (or evolution) where an existing predicted value generation function can be an end node of a tree; (3) a third device that:

selects a predicted value generation procedure having a minimum estimation cost from among the predicted value generation procedures as the parents and children, where the sum of an information content for representing the tree structure and an amount of code evaluated by a predicted pixel value obtained by the tree structure is used as an estimation cost, and the selected predicted value generation procedure has the best estimation cost for encoding an encoding target image; and

stores the selected predicted value generation procedure and one or more other predicted value generation procedures into the parent population; and

(4) a fourth device that performs a control so as to iterate processes performed by the second and third devices until a predetermined condition is satisfied, and produces a predicted value generation procedure having a best estimation cost as the result of the iteration to be a final predicted value generation procedure.

In the above structure, the second device may produce the predicted value generation procedures as the children based on the predetermined tree structure developing method which performs the development where a function which outputs coordinates of a pixel within an image can be an end node of a tree.

In addition, the first device may generate the parent population so that an existing predicted value generation function is included in the parent population.

A predicted pixel value generation procedure automatic producing method of the present invention realized by the operations of the processing devices described above can also be realized by a computer program. The computer program is stored in an appropriate computer-readable recording medium or supplied via a network, and, when implementing the invention, the program is installed and operated in a control device such as a CPU, whereby the invention is realized.

In the predicted pixel value generation procedure automatic producing apparatus having the above-described structure, when a parent population is generated by randomly producing predicted value generation procedures each of which is indicated by a tree structure, a plurality of predicted value generation procedures are selected as parents from the parent population. Then one or more predicted value generation procedures are produced as children based on a predetermined tree structure developing method which subjects the selected predicted value generation procedures to a development. Then a predicted value generation procedure having a minimum estimation cost is selected, where the sum of an information content (which may be obtained by Algorithm 1 described later) for representing the tree structure and an amount of code evaluated by a predicted pixel value (which may be obtained by Algorithm 2 described later) obtained by the tree structure is used as an estimation cost, and the selected predicted value generation procedure has the best estimation cost for encoding an encoding target image. The selected predicted value generation procedure and some other predicted value generation procedures are stored into the parent population. A new predicted pixel value generation procedure is automatically produced by iterating the above processes.

Accordingly, the predicted pixel value generation procedure automatic producing apparatus of the present invention implements highly accurate pixel value prediction by automatically producing a predicted pixel value generation procedure based on a tree structure developing method such as genetic programming. Since the sum of an information content for representing the tree structure and an amount of code evaluated by a predicted pixel value obtained by the tree structure is used as an estimation cost, it is possible to automatically produce a predicted pixel value generation procedure for implementing highly efficient image encoding, while preventing enlargement of a tree.

In addition, since the tree structure developing method is executed under a condition that an existing predicted value generation function can be an end node of a tree, it is possible to obtain a level of prediction efficiency equal to that of the conventional method.

In order to further reliably obtain such an effect, when generating a parent population, the parent population may be generated so that an existing predicted value generation function is included in the parent population.

In addition, the tree structure developing method may be executed under a condition that a function which outputs coordinates of a pixel within an image can be an end node of a tree. Accordingly, local switching for the predicted pixel value generation procedure may be possible by using the x and y coordinates in accordance with the internal structure of a relevant image.

<2> Structure of Image Encoding Apparatus and Image Decoding Apparatus of Present Invention (First Type)

When implementing a function of transmitting an automatically produced predicted pixel value generation procedure to the decoding side, the image encoding apparatus and the image decoding apparatus in accordance with the present invention have the following structures.

<2-1> Structure of Image Encoding Apparatus of Present Invention

When implementing a function of transmitting a predicted pixel value generation procedure to the decoding side, an image encoding apparatus in accordance with the present invention has a structure which includes:

(1) a first device that produces a predicted value generation procedure having a best estimation cost for encoding an encoding target image, by means of an operation executed by a predicted pixel value generation procedure automatic producing apparatus in accordance with the present invention; (2) a second device that encodes the predicted value generation procedure produced by the first device (by using, for example, Algorithm 3 described later); (3) a third device that generates a predicted value of each pixel included in the encoding target image based on the predicted value generation procedure produced by the first device (i.e., by using, for example, Algorithm 2 described later); and (4) a fourth device that encodes a prediction residual signal computed based on the predicted pixel value generated by the third device.

An image encoding method of the present invention realized by the operations of the processing devices described above can also be realized by a computer program. The computer program is stored in an appropriate computer-readable recording medium or supplied via a network, and, when implementing the invention, the program is installed and operated in a control device such as a CPU, whereby the invention is realized.

In accordance with the above structure, the image encoding apparatus of the present invention implements highly accurate pixel value prediction based on the production by the predicted pixel value generation procedure automatic producing apparatus of the present invention, and performs image encoding by using a predicted pixel value generation procedure for implementing highly efficient image encoding. Therefore, it is possible to implement such highly efficient image encoding.

<2-2> Structure of Image Decoding Apparatus of Present Invention

In order to decode encoded data generated by the image encoding apparatus of the present invention described in the above item <2-1>, an image decoding apparatus in accordance with the present invention has a structure which includes:

(1) a first device that decodes encoded data for a predicted value generation procedure produced by an operation executed by a predicted pixel value generation procedure automatic producing apparatus in accordance with the present invention (by using, for example, Algorithm 4 described later), where the encoded data was generated on an encoding side; (2) a second device that generates a predicted value of each pixel included in a decoding target image based on the predicted value generation procedure decoded by the first device (i.e., by using, for example, Algorithm 2 described later); and (3) a third device that decodes encoded data for a prediction residual signal computed using the predicted pixel value which was generated based on the predicted value generation procedure decoded by the first device, where the encoded data was generated on an encoding side; and (4) a fourth device that reproduces the decoding target image based on the predicted pixel value generated by the second device and the prediction residual signal decoded by the third device.

An image decoding method of the present invention realized by the operations of the processing devices described above can also be realized by a computer program. The computer program is stored in an appropriate computer-readable recording medium or supplied via a network, and, when implementing the invention, the program is installed and operated in a control device such as a CPU, whereby the invention is realized.

In accordance with the above structure, the image decoding apparatus of the present invention implements decoding of encoded data generated by the image encoding apparatus of the present invention described in the above item <2-1>.

<3> Structure of Image Encoding Apparatus and Image Decoding Apparatus of Present Invention (Second Type)

For each image encoded on the encoding side, a decoded image therefor is also generated on the decoding side, so that the same decoded image can be commonly possessed on the encoding and decoding sides. Therefore, transmission of a predicted pixel value generation procedure from the encoding side to the decoding side, which is required for implementing the present invention, may be omitted.

In order to implement such omission for the present invention, the image encoding apparatus and the image decoding apparatus in accordance with the present invention have the following structures.

<3-1> Structure of Image Encoding Apparatus of Present Invention

When implementing a function not to transmit a predicted pixel value generation procedure to the decoding side, an image encoding apparatus in accordance with the present invention has a structure which includes:

(1) a first device that encodes a partial encoding target image having a predetermined size, by using an existing predicted pixel value generation procedure produced not based on a tree structure developing method; (2) a second device that produces a predicted value generation procedure having a best estimation cost for encoding a decoded image obtained during the encoding of the partial encoding target image by the first device, by means of an operation executed by a predicted pixel value generation procedure automatic producing apparatus in accordance with the present invention, which estimates an information content for representing a tree structure to be zero; (3) a third device that generates a predicted value of each pixel included in the remaining partial encoding target image which was not encoded by the first device, based on the predicted value generation procedure produced by the second device (i.e., by using, for example, Algorithm 2 described later); and (4) a fourth device that encodes a prediction residual signal computed based on the predicted pixel value generated by the third device.

An image encoding method of the present invention realized by the operations of the processing devices described above can also be realized by a computer program. The computer program is stored in an appropriate computer-readable recording medium or supplied via a network, and, when implementing the invention, the program is installed and operated in a control device such as a CPU, whereby the invention is realized.

In accordance with the above structure, the image encoding apparatus of the present invention implements highly accurate pixel value prediction based on the production by the predicted pixel value generation procedure automatic producing apparatus of the present invention, and performs image encoding by using a predicted pixel value generation procedure for implementing highly efficient image encoding. Therefore, it is possible to implement such highly efficient image encoding.

In addition, the above image encoding apparatus of the present invention encodes a partial encoding target image having a predetermined size by using an existing predicted pixel value generation procedure produced independent of a tree structure developing method, thereby generating a decoded image for the relevant partial encoding target image, where the decoded image can be commonly possessed on the encoding and decoding sides. The decoded image is used for producing a predicted pixel value generation procedure which can also be produced on the decoding side and has a best estimation cost. Therefore, it is possible to omit the transmission of the predicted pixel value generation procedure to the decoding side.

<3-2> Structure of Image Decoding Apparatus of Present Invention

In order to decode encoded data generated by the image encoding apparatus of the present invention described in the above item <3-1>, an image decoding apparatus in accordance with the present invention has a structure which includes:

(1) a first device that decodes encoded data for a partial decoding target image which has a predetermined size and was encoded using an existing predicted pixel value generation procedure produced not based on a tree structure developing method, where the encoded data was generated on an encoding side; (2) a second device that produces a predicted value generation procedure having a best estimation cost for encoding the partial decoding target image obtained by the first device, by means of an operation executed by a predicted pixel value generation procedure automatic producing apparatus in accordance with the present invention, which estimates an information content for representing a tree structure to be zero; (3) a third device that generates a predicted value of each pixel included in the remaining partial decoding target image which was not decoded by the first device, based on the predicted value generation procedure produced by the second device (i.e., by using, for example, Algorithm 2 described later); (4) a fourth device that decodes encoded data for a prediction residual signal computed using the predicted pixel value which was generated based on the predicted value generation procedure decoded by the second device, where the encoded data was generated on an encoding side; and (5) a fifth device that reproduces the remaining partial decoding target image which was not decoded by the first device, based on the predicted pixel value generated by the third device and the prediction residual signal decoded by the fourth device.

An image decoding method of the present invention realized by the operations of the processing devices described above can also be realized by a computer program. The computer program is stored in an appropriate computer-readable recording medium or supplied via a network, and, when implementing the invention, the program is installed and operated in a control device such as a CPU, whereby the invention is realized.

In accordance with the above structure, the image decoding apparatus of the present invention implements decoding of encoded data generated by the image encoding apparatus of the present invention described in the above item <3-1>.

In addition, the above image decoding apparatus of the present invention decodes encoded data of a partial decoding target image which has a predetermined size and was encoded using an existing predicted pixel value generation procedure produced independent of a tree structure developing method, thereby generating a decoded image for the relevant partial decoding target image, where the decoded image can be commonly possessed on the encoding and decoding sides. The decoded image is used for producing a predicted pixel value generation procedure which can also be produced on the encoding side and has a best estimation cost. Therefore, it is possible to omit the transmission of the predicted pixel value generation procedure from the encoding side.

Effect of the Invention

As described above, in accordance with the present invention, (i) a pixel value predicting procedure itself is automatically changed using a computer while evaluating the information content for the predicted pixel value generation procedure, or (ii) a development computation is also performed on the decoding side by using pixels which were previously encoded using an existing method. Therefore, it is possible to use a predictor which can reduce the information content for the residual, and thus to encode an image with a less amount of code.

In addition, since candidates for an end node (in the present invention) also include a predictor function based on the conventional methods, a level of prediction efficiency greater than or equal to (at lowest) that obtainable by the conventional methods. Furthermore, the candidates may include the coordinates of each pixel to be encoded, so that the prediction procedure can be switched in accordance with the internal structure of the relevant image.

Additionally, since the input image can, of course, not be fixed, it is anticipated that an evolutionary image processing method (see Reference Document 4 described later) by Nagao et al., can be generally applied to various input images. However, it is actually impossible to ensure that the relevant method can be preferably applied to each unknown input image. In contrast, expectations for the present invention are concentrated only to efficient encoding of the current input image, and it is unnecessary to consider such unknown input. Therefore, the present invention has a high level of practicality.

In addition, since the sum of the information content for the residual and the information content for the tree is only a parameter to be minimized in the present invention, it is unnecessary to use “teacher information” which should be prepared by humans in general image processing applications.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram showing a tree structure representation for average prediction.

FIG. 2 is a schematic diagram explaining a crossover operation.

FIG. 3 is a schematic diagram explaining a mutation operation.

FIG. 4 is a schematic diagram explaining an inversion operation.

FIG. 5 is a diagram showing the structure of a developed predictor producing apparatus as an embodiment of the present invention.

FIG. 6 is a flowchart executed by the developed predictor producing apparatus in the embodiment.

FIG. 7 is a diagram showing the structures of an image encoding apparatus and an image decoding apparatus as an embodiment of the present invention.

FIG. 8 is a flowchart executed by the image encoding apparatus in the embodiment.

FIG. 9 is a flowchart executed by the image decoding apparatus in the embodiment.

FIG. 10 is a diagram showing the structures of an image encoding apparatus and an image decoding apparatus as another embodiment of the present invention.

FIG. 11 is a flowchart executed by the image encoding apparatus in the embodiment.

FIG. 12 is a flowchart executed by the image decoding apparatus in the embodiment.

FIG. 13 is a diagram explaining an experiment performed so as to verify effectiveness of the present invention.

FIG. 14 is a diagram explaining previously-decoded pixels which surrounds a target pixel.

MODE FOR CARRYING OUT THE INVENTION

The present invention uses a generic programming (GP) so as to implement automatic computer production of a prediction procedure which is appropriately applied to an input video or static image (simply called an “image” below) and can further reduce the relevant amount of code.

Below, the basic concept of the present invention will be shown.

<1> Tree Structure Representation of Prediction Procedure

For example, the average prediction indicated by the above-described Formula (1) can be represented using a tree structure as shown in FIG. 1. For convenience, a “symbolic expression” may be used as a description format equal to such a tree-structure representation.

In the genetic programming explained later, the symbolic expression is customarily used for representing a tree structure.

For example, in the symbolic expression, the above-described max (x, y) is described as (max x y), and the above-described MED prediction is described as follows:

(T (sub (Inw) (max (Iw) (In))) (min (Iw) (In)) (T (sub (min (Iw) (In)) (Inw)) (max (Iw) (In)) (add (Iw) (sub (In) (Inw)))))

where each line feed has no specific meaning.

The above function T has three arguments, and the following condition branching is represented:

$\begin{matrix} \begin{matrix} {\begin{pmatrix} T & A & B & C \end{pmatrix} = B} & {{{if}\mspace{14mu} A} \geq 0} \\ {= C} & {{{if}\mspace{14mu} A} < 0} \end{matrix} & {{Formula}\mspace{14mu} (5)} \end{matrix}$

where T is the first letter of “ternary”.

As described above, any algorithm can be represented as a “tree”, and thus a pixel value prediction algorithm can be represented as a tree similarly.

Instead of the above “T”, the relevant function may use addition, subtraction, multiplication, division, trigonometric function, square, square root, exponent, logarithm, absolute value, minimum value, maximum value, or the like.

Since such a function uses arguments, it appears at a position other than the end of the relevant tree, and thus is often called a “non-end node”. The function may be prepared in advance, or may be dynamically defined (see Reference Document 1).

-   Reference Document 1: J. Koza, “Genetic Programming II, Automatic     Discovery of Reusable Programs”, The MIT Press, pp. 41, 1998

In addition, a numerical value such as 0.148 or a peripheral pixel value such as Iw, In, Ine, or Inw (see FIG. 14) may function as an end node which itself has a value and is assigned to an end of a tree.

<2> Characteristics of End Nodes in Present Invention

In the present invention, candidates for end nodes include a function which outputs a predicted value by using an existing encoding method.

Since any function needs arguments, the above function is originally not assigned to any end node. However, the function which outputs a predicted value by using an existing encoding method is a function based on the existing encoding method, and thus the types of arguments for the function are predetermined. Therefore, the function can also be assigned to an end node.

Similar to the above-described peripheral pixel value, the predicted value output from the function “which outputs a predicted value by using an existing encoding method” is individually determined for each (target) pixel to be encoded.

The predicted value output from the relevant function may be a least-square predicted value, plane predicted value, predicted value for CALIC (see Reference Document 2 below), predicted value for JPEG-LS, or the like.

-   Reference Document 2: X. Wu and N. Memon: “Context-Based, Adaptive,     Lossless Image Coding”, IEEE Transactions on Communications, Vol.     45, No. 4, pp. 437-444, April 1997

As described above, when the candidates for end nodes include a function which outputs a predicted value by using an existing encoding method, it is possible to obtain a level of prediction efficiency equal to that of the conventional method, substantially without any overhead.

That is, in the present invention, as explained later, the prediction procedure (i.e., tree structure) for pixel value prediction is developed (or evolved) using a genetic programming, so as to automatically produce a predictor (i.e., prediction procedure) having improved prediction efficiency, where candidates for end nodes include a function which outputs a predicted value by using an existing encoding method. Accordingly, a conventional predictor can also be a target for the relevant development.

Therefore, if a conventional predictor can provide a higher level of prediction efficiency than another automatically-produced predictor, such a conventional predictor is finally automatically produced by the genetic programming, thereby obtaining prediction efficiency equal to that of the conventional method, substantially without any overhead.

If a combination between a predictor developed (or evolved) using the genetic programming and a conventional predictor can implement further efficient prediction, it is employed for the encoding.

Additionally, in the present invention, the candidates for end nodes also include a function which outputs coordinates of a (target) node to be encoded.

The coordinates output from such a function may have normalized values such as “x=−1” for each left-end pixel; “x=1” for each right-end pixel, “y=−1” for each upper-end pixel; “y=1” for each lower-end pixel in an image, or real coordinate values.

The function which outputs coordinates of a target node may randomly output the coordinates within the image plane, without using arguments. Therefore, the function can also be assigned to an end node.

As described above, when the candidates for end nodes also include a function which outputs coordinates (within the image plane) of a target node to be encoded, local switching for processing is possible by using the x and y coordinates, in accordance with the internal structure of the relevant image.

For example, it is possible to produce a predictor which performs processing switching in accordance with the value of y in a manner such that the upper ⅚ part of an image is applied to a predictor employing a prediction procedure, and the remaining lower ⅙ part is applied to a predictor employing another prediction procedure.

<3> Estimated Value for Prediction Procedure, Information Content (Amount of Information) of Tree, and Computation Method for Predicted Value <3-1> Estimated Value for Prediction Procedure

When developing (or evolving) the prediction procedure as explained later, an estimated scale is necessary.

In the present invention, the sum (X+Y) of the followings is used as estimated values (called “goodness of fit” in genetic programming) for each individual which represents a prediction procedure:

(i) information content X (amount of information) for representing a tree structure; and (ii) information content Y of a prediction residual obtained by actual pixel value prediction using a prediction procedure based on the above tree structure.

In the present invention, the estimated value for an individual (tree is denoted as “individual” in genetic programming) is determined not only based on the information content Y of the prediction residual, but also in consideration of the information content X of the tree. One reason thereof is that it is necessary to transmit the prediction procedure itself to the decoder side.

Another reason is that when the estimated value is determined in consideration of the information content X of tree, it is possible to prevent a “bloat” problem (enlargement of a tree) in the genetic programming.

<3-2> Information Content X for Representing Tree Structure

The Information content X for representing a tree structure is the sum of the information contents of all nodes included in the tree.

The Information content for representing a tree structure may be computed by the following recursive function. Here, it is assumed that the numerical value associated with each node in the tree alignment is represented, for example, by a 10-bit fixed-point integer.

Algorithm 1 function tree_info(t) begin   if t is a numerical value then     return FUNCINFO + 10   else begin     s: = FUNCINFO // function part     foreach (about all lower nodes c connected t) begin       s: = s + tree_info(c)     end     return s   end end

Here, it is assumed that serial numbers 0 to N−1 are assigned to individual functions.

FUNCINFO is the following value which indicates the amount of code generated when a function is subjected to fixed-length encoding:

FUNCINFO=log₂(N+1)  Formula (6)

where (N+1) is employed so as to also consider a numerical value (e.g., 2 or ¼) other than functions.

Although fixed-length encoding is assumed above, variable-length encoding or arithmetic encoding in consideration of occurrence frequency for each function may be performed.

After that, given with “root” as the highest node in a target prediction procedure (tree), the information content X of the tree can be computed by:

X=tree_info(root)  Formula (7)

<3-3> Computation Method for Predicted Value

The method of computing a predicted value based on the prediction procedure represented by the relevant tree may use a recursive function as shown below.

Algorithm 2 function tree_eval(t) begin   if t is a numerical value then// immediate value     return the numerical value   else if t has no argument then // e.g.,: In     return function value of t   else if t has one argument then // e.g.,: sqrt(A)     return function of t (tree_eval (first lower node of t))   else if t has two arguments then // e.g.,: add (A, B)     return function of t (tree_eval (first lower node of t), tree_eval     (second lower node of t))   else if t has three arguments then // e.g.,: ternary operator T     return function of t (tree_eval (first lower node of t), tree_eval     (second lower node of t), tree_eval (third lower node of t)) end

Although the above algorithm limitedly assumes the number of arguments to be three or less, similar processes can be performed even if the upper limit of the arguments is set to be 4, 5, . . . .

After that, given with “root” as the highest node in a target prediction procedure (tree), a predicted value p′ for the current target pixel can be computed using:

x′=tree_eval(root)  Formula (8)

The information content Y of the prediction residual may be computed by the following formula.

$\begin{matrix} \left\lbrack {{Formula}\mspace{14mu} 1} \right\rbrack & \; \\ {Y = {- {\sum\limits_{h_{d} \neq 0}{h_{d}\log_{2}\frac{h_{d}}{W \times H}}}}} & {{Formula}\mspace{14mu} (1)} \end{matrix}$

In the above formula, h_(d) indicates the number of occurrence (for histogram) of prediction error d (=x−x′) in the whole image, and W and H respectively indicates the numbers of pixels in the horizontal and vertical directions.

Similarly, as executed in CALIC, the information content may be reduced using a method called “context isolation”, “error feedback”, or “error flipping”.

<4> Encoding and Decoding of Prediction Procedure <4-1> Encoding of Prediction Procedure

The encoding of a prediction procedure can also be executed using the following recursive procedure similar to the information content evaluation.

Algorithm 3 procedure tree_encode(t)   begin   if t is a numerical value then begin     encode N (numerical value) using FUNCINFO bits     encode (fixed-point) numerical value using 10-bit form   end else begin     encode function number (0, .. N−1) of t by using FUNCINFO     bits     foreach (about all lower nodes c connected t) begin       tree_encode(c)     end   end end

After that, given with “root” as the highest node in a target prediction procedure (tree), “tree_encode (root)” can be executed, thereby encoding the relevant tree, where the lower limit of the required amount of code coincides with “tree_info (root)”.

<4-2> Decoding of Prediction Procedure

The decoding of the prediction procedure encoded by Algorithm 3 can also be executed using a similar recursive procedure shown below.

Algorithm 4 function tree_decode( ) begin   generate empty tree T   decode FUNCINFO bits to decode function number n   if n = N then begin // numerical value     decode 10 bits to decode 10-bit fixed-point value x     T: = x   end else begin     compute function F corresponding to function number n     T: = F     for i = 1 to “number of arguments required by F” begin       i-th lower node of T: = tree_decode( )     end   end   return T end

The above number of arguments required by F is the number (known by both the encoder and decoder sides) of values used for outputting a value from the relevant function. If F=add, the relevant number is 2, and if F=T, the relevant number is 3.

Here, F has lower nodes corresponding to the relevant number, as arguments of its own.

After that, when executing tree_decode( ), the tree is decoded by means of the relevant bit stream, and is then returned.

<5> Automatic Development of Prediction Procedure Using Genetic Programming

In the present invention, the predictor is developed by the following generally-known procedure (including replica selection, child generation, and survival selection) for the genetic programming.

In the genetic programming, each tree is called an “individual”. The following explanation is based thereon.

1. First, a population is generated in advance by using random numbers or an existing prediction algorithm (e.g., the above-described plane or MED prediction). 2. From among the population, a set of parents (parent population) is selected (replica selection). 3. A set of child individuals is generated from the parent population (child generation), and is estimated (the estimation scale was explained above). 4. Based on results of the estimation, survivals from the set of child individuals are selected (survival selection).

In the above procedure, each “child” is generated by performing the following process between individuals selected as parents:

(i) crossover as shown in FIG. 2, for randomly selecting crossover points in parents 1 and 2, and performing crossover between partial trees in accordance with the crossover points; (ii) mutation as shown in FIG. 3, for randomly selecting a mutation point, and replacing a partial tree with a mutation tree in accordance with the mutation point; or (iii) inversion as shown in FIG. 4, for performing exchange between brother trees.

The replica selection and survival selection are collectively called a “generation alternation model”, for which a generally-known MGG (minimal generation gap) method proposed by the following Reference Document 3 may be applied.

-   Reference Document 3: Hiroshi Sato, Isao Ono, and Shigenobu     Kobayashi, “A New Generation Alternation Model for Genetic     Algorithms and Its Assessment”, Journal of Japanese Society for     Artificial Intelligence, Vol. 12, No. 5, pp. 734-744, 1996     The following Reference Document 4 discloses a representative method     for developing an operation procedure by using a genetic     programming, where the method relates to a procedure for image     processing. -   Reference Document 4: Wataru Fujishima and Tomoharu Nagao,     “PT-ACTIT; Parameter Tunable-Automatic Construction of     Tree-structural Image Transformation”, Journal of Institute of Image     Information and Television Engineers, Vol. 59, No. 11, pp.     1687-1693, 2005

However, no method for developing an “image” encoding procedure (as provided by the present invention) has been proposed. The above-described methods disclosed by Non-Patent Document 4 or 5 is nothing but optimization of an encoding parameter.

Below, the present invention will be explained in detail by using embodiments.

FIG. 5 shows the structure of a developed predictor producing apparatus 1 as an embodiment of the present invention.

The developed predictor producing apparatus 1 in the present embodiment implements automatic production of a predictor which uses a genetic programming (in which each tree is called an individual) so as to generate a predicted pixel value. Below, a predictor produced in the present embodiment is called a developed predictor.

In order to implement the automatic production, as shown in FIG. 5, the apparatus includes a parent population generation unit 10, a parent population storage unit 11, a parent individual selection and replication unit 12, a child individual generation unit 13, a mutation information storage unit 14, an estimated value computation unit 15, a surviving individual determination unit 16, a convergence determination unit 17, and a developed predictor determination unit 18.

The parent population generation unit 10 generates a parent population by randomly generating individuals for a predictor as a origin for a developed predictor, and stored the parent population into the parent population storage unit 11. In this process, an existing predicted value generation function (as an individual) is contained in the generated and stored parent population.

The parent population generation unit 10 also requests the estimated value computation unit 15 to compute an estimated value for each individual stored in the parent population storage unit 11, and receives the estimated value returned from the estimated value computation unit 15 in response to the relevant request. The parent population generation unit 10 stores each estimated value into the parent population storage unit 11, in association with the corresponding individual (also stored).

The parent individual selection and replication unit 12 selects and replicates a plurality of individuals stored in the parent population storage unit 11, thereby generating a plurality of parent individuals.

The parent individual selection and replication unit 12 also deletes the individuals as origins for the generated parent individuals from the parent population storage unit 11.

Based on the genetic programming, the child individual generation unit 13 generates child individuals by subjecting the parent individuals generated by the parent individual selection and replication unit 12 to crossover as shown in FIG. 2; mutation as shown in FIG. 3 by using mutation information stored in the mutation information storage unit 14; inversion as shown in FIG. 4; or the like.

The child individual generation unit 13 also computes an estimated value for each generated child individual by requesting the estimated value computation unit 15 to compute the estimated value, and receiving the estimated value returned from the estimated value computation unit 15 in response to the relevant request.

The mutation information storage unit 14 stores mutation information (i.e., mutated tree) used when the child individual generation unit 13 subjects a parent individual to mutation, and the mutation information includes a function (as an individual) which outputs relevant coordinates in an image and an existing predicted value generation function (also as an individual).

When the estimated value computation unit 15 receives a request for computing an estimated value for a designated individual, it computes a total sum of information content (the above-described X: individual information content) required for representing the corresponding tree structure, and information content (the above-described Y: prediction residual information content) of a prediction residual of the whole image for which pixel value prediction was actually performed using a prediction procedure based on the relevant tree structure. The estimated value computation unit 15 returns the computed total sum of information content as an estimated value for the individual, to the unit which issued the estimated value computation request.

Based on the estimated value (retrieved from the parent population storage unit 11) for each parent individual generated by the parent individual selection and replication unit 12 and the estimated value assigned to each child individual generated by the child individual generation unit 13, the surviving individual determination unit 16 selects an individual having the best estimated value, and stores the selected individual and other one or more individuals into the parent population storage unit 11, together with the corresponding estimated values.

Based on the estimated values output from the estimated value computation unit 15 and the like, the convergence determination unit 17 determines whether or not a convergence condition, which indicates completion of the developed predictor production, has been satisfied. If it is determined that the condition has been satisfied, the convergence determination unit 17 directs the developed predictor determination unit 18 to determine the developed predictor.

When receiving the developed predictor determination request from the convergence determination unit 17, the developed predictor determination unit 18 specifies an individual having the best estimated value from among the individuals stored in the parent population storage unit 11, and determines and outputs the specified individual to be a developed predictor.

FIG. 6 is a flowchart executed by the developed predictor producing apparatus 1 having the above-described structure.

In accordance with the flowchart, the operation executed by the developed predictor producing apparatus 1 will be explained in detail.

As shown in the flowchart of FIG. 6, when receiving a request for generating a developed predictor for an image as an encoding target, the developed predictor producing apparatus 1 first generates a parent population (i.e., a set of individuals as an origin for the relevant development) including an individual which outputs a predicted value by using an existing encoding method (see step S101).

In the next step S102, for each individual in the parent population, the sum of information content X for representing a corresponding tree and information content Y for a prediction residual of the whole image for which pixel value prediction was actually performed using a prediction procedure based on the relevant tree structure is computed so as to compute an estimated value.

The information content X for representing a corresponding tree is computed using the above-described algorithm 1.

The predicted value obtained by the prediction procedure based on the tree structure is computed using the above-described algorithm 2.

In the next step S103, each individual in the parent population is stored in the parent population storage unit 11 together with the estimated value assigned to the individual.

In the next step S104, N parent individuals are selected from among the individuals stored in the parent population storage unit 11, and the estimated values assigned to them are also retrieved.

In the next step S105, the selected N individuals are replicated, and also deleted from the parent population storage unit 11.

In the next step S106, M child individuals are generated from the N replicated parent individuals by performing, for example, crossover as shown in FIG. 2, mutation as shown in FIG. 3, or inversion as shown in FIG. 4 by means of genetic programming which may use the mutation information stored in the mutation information storage unit 14.

In the above process, candidates for an individual (tree) added by mutation include a function for generating a predicted value by using a conventional method, and a function which outputs x and y coordinates of a pixel to be encoded.

In the next step S107, for each of the generated M child individuals, the sum of information content X for representing a corresponding tree structure and information content Y for a prediction residual of actual pixel value prediction using a prediction procedure based on the relevant tree structure is computed so as to compute an estimated value.

In the next step S108, from among selection targets consisting of the generated M child individuals and the replicated N parent individuals, an individual having the best estimated value is selected and other N−1 individuals are randomly selected, as surviving individuals.

In the next step S109, the selected surviving individuals are stored into the parent population storage unit 11 together with the corresponding estimated values assigned to them.

In the next step S110, it is determined whether or not a predetermined convergence condition has been satisfied. If it is determined that the convergence condition has not yet been satisfied, then it is determined that the development is currently insufficient, and the operation returns to step S104.

The employed convergence condition may be such that a decreasing rate of estimated value Z (X+Y) becomes less than a fixed value (e.g., 0.1%), or that the number of iterations for estimated value computation exceeds a fixed value (e.g., 10,000).

If it is determined in the above step S110 that the predetermined convergence condition has been satisfied, then the operation proceeds to step S111, where the individual having the best estimated value is selected and output as a finally developed individual (i.e., developed predictor), from among the individuals of the parent population stored in the parent population storage unit 11. The operation is then completed.

As described above, the developed predictor producing apparatus 1 of the present embodiment can automatically produce a developed predictor which implements highly accurate pixel value prediction, by using genetic programming.

In order to implement such automatic production, the developed predictor producing apparatus 1 of the present embodiment uses an estimated value which is the sum of information content X for representing a tree structure and information content Y for a prediction residual of the whole image for which pixel value prediction was actually performed using a prediction procedure based on the relevant tree structure. Therefore, it is possible to automatically produce a predictor which performs pixel value prediction for implementing highly efficient image encoding.

For the above operation, candidates for an added individual include a function which generates a predicted value by using a conventional method. Therefore, a level of prediction efficiency equal to the conventional method can be obtained.

In addition, when such an individual as a function which generates a predicted value by using a conventional method is included in a parent population when generating the parent population, the above “equal level of prediction efficiency” can be more reliably realized.

Furthermore, since the candidates for an added individual include a function which output x and y coordinates of a pixel to be encoded, it is also possible to perform a local change in the developed predictor in accordance with the internal structure of the relevant image by using the x and y coordinates.

FIG. 7 shows embodiments of an image encoding apparatus 100 and an image decoding apparatus 200 which use the developed predictor producing apparatus 1 of the present embodiment.

The image encoding apparatus 100 in FIG. 7 includes a developed predictor production unit 101 which produces a developed predictor applied to an encoding target image in accordance with the operation executed by the developed predictor producing apparatus 1 of the above embodiment, a developed predictor encoding unit 102 for encoding the developed predictor produced by the developed predictor production unit 101, an image encoding unit 103 for encoding an encoding target image by using the developed predictor produced by the developed predictor production unit 101, and an encoded data sending unit 107 which sends the image decoding apparatus 200 (in the present embodiment) encoded data generated by the developed predictor encoding unit 102 and the image encoding unit 103.

The above image encoding unit 103 includes a predicted pixel value generator 104 which predicts a pixel value by using the developed predictor produced by the developed predictor production unit 101, a prediction residual computer 105 which computes a prediction residual based on the pixel value predicted by the predicted pixel value generator 104, and a prediction residual encoder 106 for encoding the prediction residual computed by the prediction residual computer 105.

The image decoding apparatus 200 in FIG. 7 includes an encoded data receiving unit 201 for receiving the encoded data sent from the image encoding apparatus 100 of the present embodiment, a developed predictor decoding unit 202 for decoding the developed predictor produced by the image encoding apparatus 100 by decoding the encoded data of the developed predictor received by the encoded data receiving unit 201, and an image decoding unit 203 for decoding the image encoded by the image encoding apparatus 100 based on the developed predictor decoded by the developed predictor decoding unit 202 and the encoded data received by the encoded data receiving unit 201.

In order to decode the image encoded by the image encoding apparatus 100, the image decoding unit 203 includes an predicted pixel value generator 204 for predicting a predicted value by using the developed predictor decoded by the developed predictor decoding unit 202, a prediction residual decoder 205 for decoding the encoded data of the prediction residual received by the encoded data receiving unit 201, and an image reproducer 206 for reproducing the image encoded by the image encoding apparatus 100 based on the pixel value predicted by the predicted pixel value generator 204 and the prediction residual decoded by the prediction residual decoder 205.

FIG. 8 is a flowchart executed by the image encoding apparatus 100 shown in FIG. 7, and FIG. 9 is a flowchart executed by the image decoding apparatus 200 shown in FIG. 7.

In accordance with the flowcharts, operations performed by the image encoding apparatus 100 and the image decoding apparatus 200 having the structures shown in FIG. 7 will be explained.

As shown in the flowchart of FIG. 8, when the image encoding apparatus 100 having the structure in FIG. 7 receives a request for encoding an encoding target image, it first produces a developed predictor applied to the encoding target image based on the operation executed by the above-described developed predictor producing apparatus 1 (see step S201). In the next step S202, the produced developed predictor is encoded using the above-described algorithm 3.

Next, for the encoding of the encoding target image, a predicted pixel value (the above-described p′) is generated using the produced developed predictor (see step S203), and a prediction residual (the above-described p−p′) is then computed based on the generated predicted pixel value (see step S204).

In the next step S205, the computed prediction residual is encoded, and in the following step S206, it is determined whether or not the encoding has been completed for all pixels contained in the encoding target image. If it is determined that the encoding of all pixels has not yet been completed, the operation returns to step S203. If it is determined that the encoding of all pixels has been completed, the current operation is terminated.

As shown in the flowchart of FIG. 9, when the image decoding apparatus 200 having the structure shown in FIG. 7 receives the encoded data generated by the image encoding apparatus 100, the image decoding apparatus 200 first decodes the encoded data of the developed predictor based on the above-described algorithm 4, so as to decode the developed predictor produced by the image encoding apparatus 100 (see step S301).

In the following decoding of a decoding target image, in step S302, a predicted pixel value (the above-described p′) is generated using the decoded developed predictor, and in the next step S303, encoded data of the prediction residual is decoded so as to obtain a decoded prediction residual (i.e., the above-described p−p′). In the next step S304, a pixel value is generated and output based on the above-generated predicted pixel value and the decoded prediction residual.

In the next step S305, it is determined whether or not the relevant decoding has been completed for all pixels included in the decoding target image. If it is determined that the decoding of all pixels has not yet been completed, the operation returns to step S302. If it is determined that the decoding of all pixels has been completed, the current operation is terminated.

As described above, the image encoding apparatus 100 having the structure shown in FIG. 7 produces a developed predictor, encodes an image by using the developed predictor, and also encodes the developed predictor. The image decoding apparatus 200 having the structure shown in FIG. 7 obtains the developed predictor produced by the image encoding apparatus 100, by decoding encoded data of the developed predictor, and decodes the relevant image by using the developed predictor.

Also as described above, the developed predictor producing apparatus 1 automatically produces a developed predictor which implements highly accurate pixel value prediction.

Therefore, in accordance with the image encoding apparatus 100 and the image decoding apparatus 200 which encode and decode an image by using a developed predictor produced by the developed predictor producing apparatus 1, a high level of encoding efficiency can be acquired.

FIG. 10 shows other embodiments of the image encoding apparatus 100 and the image decoding apparatus 200 which use the above-described developed predictor producing apparatus 1.

The image encoding apparatus 100 and the image decoding apparatus 200 shown in FIG. 7 require encoding and transmission of a developed predictor. However, an image encoding apparatus 100′ and an image decoding apparatus 200′ shown in FIG. 10 do not perform such encoding and transmission of a developed predictor, and the developed predictor produced by the encoding side can be produced by the decoding side by using previously-transmitted pixels, so that the encoding and decoding sides can encode and decode an image by using the same developed predictor.

In order to implement the above function, the image encoding apparatus 100′ shown in FIG. 10 has a first image encoding unit 110 for encoding a partial image, which belongs to an encoding target image and has a predetermined size, by using an existing predictor; a developed predictor production unit 111 for producing a developed predictor applied to a decoded image of the encoded partial image, where the decoded image was obtained by decoding executed by the first image encoding unit 110 so as to perform the relevant encoding; a second encoding unit 112 for encoding the remaining partial image of the encoding target image by using the developed predictor produced by the developed predictor production unit 111; and an encoded data sending unit 116 which sends encoded data generated by the first encoding unit 110 and the second encoding unit 112 to the image decoding apparatus 200′.

In order to encode a partial image which is not encoded by the first encoding unit 110, the above second encoding unit 112 includes a predicted pixel value generator 113 which predicts a pixel value by using the developed predictor produced by the developed predictor production unit 111, a prediction residual computer 114 which computes a prediction residual based on the pixel value predicted by the predicted pixel value generator 113, and a prediction residual encoder 115 for encoding the prediction residual computed by the prediction residual computer 114.

The image decoding apparatus 200′ shown in FIG. 10 has an encoded data receiving unit 210 for receiving the encoded data sent from the image encoding apparatus 100′; a first image decoding unit 211 for decoding the encoded data which was generated by the first image encoding unit 110 and is contained in the encoded data received by the encoded data receiving unit 210; a developed predictor production unit 212 for producing a developed predictor applied to the partial image decoded by the first image decoding unit 211; a second image decoding unit 213 for decoding a partial image which is not decoded by the first image decoding unit 211, based on the developed predictor produced by the developed predictor production unit 212 and the encoded data which was generated by the second encoding unit 112 and is contained in the encoded data received by the encoded data receiving unit 210; and an image synthesizer 217 for generating the image as the decoding target by synthesizing the image decoded by the first image decoding unit 211 and the image decoded by the second image decoding unit 213.

In order to decode a partial image which is not decoded by the first image decoding unit 211, the above second image decoding unit 213 includes an predicted pixel value generator 214 for predicting a predicted value by using the developed predictor produced by the developed predictor production unit 212; a prediction residual decoder 215 for decoding the encoded data of the prediction residual which was received by the encoded data receiving unit 210 and is assigned to the partial image that is not decoded by the first image decoding unit 211; and an image reproducer 216 for reproducing the partial image that is not decoded by the first image decoding unit 211, based on the pixel value predicted by the predicted pixel value generator 214 and the prediction residual decoded by the prediction residual decoder 215.

FIG. 11 is a flowchart executed by the image encoding apparatus 100′ shown in FIG. 10, and FIG. 12 is a flowchart executed by the image decoding apparatus 200′ shown in FIG. 10.

In accordance with the flowcharts, operations performed by the image encoding apparatus 100′ and the image decoding apparatus 200′ will be explained.

When the image encoding apparatus 100′ receives a request for encoding an encoding an image, it first starts encoding of a partial image (having N pixels as an assumed condition) which belongs to an encoding target image and has a predetermined size, by using an existing predictor (see step S401). In the next step S402, the encoding is continued until the completion of the encoding for the relevant partial image is confirmed, thereby encoding the partial image.

For example, such a partial image which belongs to an encoding target image and which has a predetermined size is encoded using JPEG-LS.

In the next step S403, a developed predictor applied to a decoded image (for the encoded partial image) obtained by the encoding in the above step S401 is produced based on the operation executed by the above-described developed predictor producing apparatus 1.

As described above, basically, a developed predictor having a preferable estimated value is produced in accordance with an estimated value defined as the sum of information content X for representing a tree structure and information content Y for a prediction residual of the whole image for which pixel value prediction was actually performed using a prediction procedure based on the relevant tree structure. However, since it is unnecessary to transmit a developed predictor in the present embodiment, the estimated value is computed by defining the information content X to be 0 (the development procedure is not changed), and the developed predictor is produced based on the computed estimated value.

Next, for the encoding of the remaining partial image which also belongs to the encoding target image but was not encoded in the above step S401, a predicted pixel value (the above-described p′) is generated using the produced developed predictor (see step S404), and in the next step S405, a prediction residual (the above-described p−p′) is computed based on the generated predicted pixel value.

In the next step S406, the computed prediction residual is encoded, and in the following step S407, it is determined whether or not the encoding has been completed for all pixels contained in the encoding target image. If it is determined that the encoding of all pixels has not yet been completed, the operation returns to step S404. If it is determined that the encoding of all pixels has been completed, the current operation is terminated.

As shown in the flowchart of FIG. 12, when the image decoding apparatus 200′ receives the encoded data generated by the image encoding apparatus 100′, the image decoding apparatus 200′ first starts decoding of the encoded data of the partial image (having N pixels as the assumed condition) encoded by the image encoding apparatus 100′ by using the existing predictor (see step S501). In the next step S502, the decoding is continued until the completion of the decoding for the relevant partial image is confirmed, thereby decoding the partial image.

For example, such a partial image having a predetermined size is decoded using JPEG-LS.

In the next step S503, a developed predictor applied to a decoded image obtained by the decoding in the above step S501 is produced based on the operation executed by the above-described developed predictor producing apparatus 1.

As described above, basically, a developed predictor having a preferable estimated value is produced in accordance with an estimated value defined as the sum of information content X for representing a tree structure and information content Y for a prediction residual of the whole image for which pixel value prediction was actually performed using a prediction procedure based on the relevant tree structure. However, since it is unnecessary to transmit a developed predictor in the present embodiment, the estimated value is computed by defining the information content X to be 0 (the development procedure is not changed), and the developed predictor is produced based on the computed estimated value.

Next, for the decoding of the remaining partial image which also belongs to the decoding target image, a predicted pixel value (the above-described p′) is generated using the produced developed predictor (see step S504), and in the next step S505, a prediction residual (the above-described p−p′) is decoded by decoding the encoded data of the prediction residual.

In the next step S506, a pixel value is generated and output based on the above-generated predicted pixel value and the decoded prediction residual.

In the next step S507, it is determined whether or not the relevant decoding has been completed for all pixels included in the remaining partial image of the decoding target image. If it is determined that the decoding of all pixels has not yet been completed, the operation returns to step S504. If it is determined that the decoding of all pixels has been completed, the current operation is terminated.

As described above, the image encoding apparatus 100′ having the structure shown in FIG. 10 encodes a part of the encoding target image using an existing encoding method, produces a developed predictor by using a decoded image obtained by that encoding, and encodes the remaining partial image by using the produced developed predictor.

The image decoding apparatus 200′ having the structure shown in FIG. 10 decodes a part of the decoding target image by decoding the relevant encoded data in accordance with an existing decoding method, produces a developed predictor by using the decoded image, and decodes the remaining partial image by using the produced developed predictor.

Also as described above, the developed predictor producing apparatus 1 automatically produces a developed predictor which implements highly accurate pixel value prediction.

Therefore, in accordance with the image encoding apparatus 100′ and the image decoding apparatus 200′ which encode and decode an image by using a developed predictor produced by the developed predictor producing apparatus 1, a high level of encoding efficiency can be acquired.

In an experiment performed by the inventors of the above-described present invention so as to verify effectiveness of the invention, when an estimated value X+Y was minimized for an image, the following relatively simple developed predictor could be produced.

(add (sub 0.5 (sub (div (Igap) (Ine)) (Igap))) (div (Inw) (Igap)))

where Igap indicates a non-linear predicted value obtained from the periphery, and Ine and Inw are peripheral pixel values shown in FIG. 14.

The acquired estimated value X+Y was 1170235 bits, which indicated that it was better than the maximum value 1176090 bits obtainable by currently available existing predictors.

The relevant developed predictor performs a division between predicted values, which indicates that the present invention may produce a predicted value generation procedure which cannot be anticipated in consideration of conventional predictors.

Below, results of the experiment performed for verifying effectiveness of the invention will be shown. In the experiment, an existing predicted value generation function (as an individual) was not included in a parent population.

In the present experiment, comparative prediction trees were a least-square predictor (LS) which performs linear prediction, a minimum entropy predictor (LE) which also performs linear prediction, a GAP predictor for CALIC, which performs non-linear prediction (using four peripheral pixels, similar to the present invention (see FIG. 14)), and an MED predictor for JPEG-LS, which also performs non-linear prediction (using three peripheral pixels).

In the above “LE” prediction, five coefficients in LS prediction are used as initial values, and Y is minimized by means of multidimensional search based on a Powell method. The LE prediction provides a highest level of efficiency among linear prediction methods.

FIG. 13 shows the information content (X+Y) for the residual of each image (having 512×512 pixels, 8-bit gradation, and only luminance data) used in the experiment, where the information content also considers overhead (50 for LS and LE, 0 for MED, and the X bits for the method proposed by the present invention). FIG. 13 also shows each increment from the information content of the present proposed method for each image. In addition, the bottom line in FIG. 13 shows the information content X of a tree of the present invention for each image. The unit for the residual information content is bpp (pit per pixel).

Referring to the results of the experiment, it was confirmed that the predictor automatically produced in accordance with the present invention had the highest level of efficiency. The average of the information content X for a tree of the predictor automatically produced in accordance with the present invention is 726 bits, which indicates slight complexity in comparison with GAP and MED predictors (which respectively have 349.5 bits and 116.0 bits, and were defined to be zero in the present experiment).

For image “Lena”, a development computation was separately performed without consideration of the tree information content X, so as to minimize only the residual information content Y. In comparison with the results shown in FIG. 13, the results of the separate computation for the proposed method of the present invention show that Y (Y itself is not shown in FIG. 14) decreased by 0.06%, but X increased approximately three times (i.e., X=2795 bits), so that X+Y increased by 0.14%. Although enlargement of a tree is a problem called “bloat” due to GP, it can be naturally prevented by the present invention which also considers X.

For image “Baboon”, a prediction tree for assigning different processes to a lower ⅙ region and the remaining region in the image was produced. The ⅙ and the remaining regions correspond to whether or not it is a region only having a beard. Such a prediction tree supports a high-level search based on GP.

The effectiveness of the present invention could be verified based on the above-described results of the experiments.

INDUSTRIAL APPLICABILITY

As described above, the present invention can be applied to encoding and decoding of a video or static image, so as to implement highly accurate pixel value prediction. Therefore, a prediction procedure which is suitable for each input image and can further reduce the relevant amount of code can be automatically produced using a computer.

REFERENCE SYMBOLS

-   1 developed predictor producing apparatus -   10 parent population generation unit -   11 parent population storage unit -   12 parent individual selection and replication unit -   13 child individual generation unit -   14 mutation information storage unit -   15 estimated value computation unit -   16 surviving individual determination unit -   17 convergence determination unit -   18 developed predictor determination unit 

1. A predicted pixel value generation procedure automatic producing method used for producing a predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the method comprising: a first step that generates a parent population by randomly producing predicted value generation procedures each of which is indicated by a tree structure; a second step that selects a plurality of predicted value generation procedures as parents from the parent population, and produces one or more predicted value generation procedures as children based on a predetermined tree structure developing method which subjects the selected predicted value generation procedures to a development where an existing predicted value generation function can be an end node of a tree; a third step that: selects a predicted value generation procedure having a minimum estimation cost from among the predicted value generation procedures as the parents and children, where the sum of an information content for representing the tree structure and an amount of code evaluated by a predicted pixel value obtained by the tree structure is used as an estimation cost, and the selected predicted value generation procedure has the best estimation cost for encoding an encoding target image; and stores the selected predicted value generation procedure and one or more other predicted value generation procedures into the parent population; and a fourth step that performs a control so as to iterate the second and third steps until a predetermined condition is satisfied, and produces a predicted value generation procedure having a best estimation cost as the result of the iteration to be a final predicted value generation procedure.
 2. The predicted pixel value generation procedure automatic producing method in accordance with claim 1, wherein: in the second step, the predicted value generation procedures as the children are produced based on the predetermined tree structure developing method which performs the development where a function which outputs coordinates of a pixel within an image can be an end node of a tree.
 3. The predicted pixel value generation procedure automatic producing method in accordance with claim 1, wherein: in the first step, the parent population is generated so that an existing predicted value generation function is included in the parent population.
 4. An image encoding method of encoding an image using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the method comprising: a first step that produces a predicted value generation procedure having a best estimation cost for encoding an encoding target image, by means of the predicted pixel value generation procedure automatic producing method in accordance with claim 1; a second step that encodes the predicted value generation procedure produced by the first step; a third step that generates a predicted value of each pixel included in the encoding target image based on the predicted value generation procedure produced by the first step; and a fourth step that encodes a prediction residual signal computed based on the predicted pixel value generated by the third step.
 5. An image decoding method of decoding encoded data of an image which was encoded using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the method comprising: a first step that decodes encoded data for a predicted value generation procedure produced by the predicted pixel value generation procedure automatic producing method in accordance with claim 1, where the encoded data was generated on an encoding side; a second step that generates a predicted value of each pixel included in a decoding target image based on the predicted value generation procedure decoded by the first step; and a third step that decodes encoded data for a prediction residual signal computed using the predicted pixel value which was generated based on the predicted value generation procedure decoded by the first step, where the encoded data was generated on an encoding side; and a fourth step that reproduces the decoding target image based on the predicted pixel value generated by the second step and the prediction residual signal decoded by the third step.
 6. An image encoding method of encoding an image using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the method comprising: a first step that encodes a partial encoding target image having a predetermined size, by using an existing predicted pixel value generation procedure produced not based on a tree structure developing method; a second step that produces a predicted value generation procedure having a best estimation cost for encoding a decoded image obtained during the encoding of the partial encoding target image by the first step, by means of the predicted pixel value generation procedure automatic producing method in accordance with claim 1, which estimates an information content for representing a tree structure to be zero; a third step that generates a predicted value of each pixel included in the remaining partial encoding target image which was not encoded by the first step, based on the predicted value generation procedure produced by the second step; and a fourth step that encodes a prediction residual signal computed based on the predicted pixel value generated by the third step.
 7. An image decoding method of decoding encoded data of an image which was encoded using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the method comprising: a first step that decodes encoded data for a partial decoding target image which has a predetermined size and was encoded using an existing predicted pixel value generation procedure produced not based on a tree structure developing method, where the encoded data was generated on an encoding side; a second step that produces a predicted value generation procedure having a best estimation cost for encoding the partial decoding target image obtained by the first step, by means of the predicted pixel value generation procedure automatic producing method in accordance with claim 1, which estimates an information content for representing a tree structure to be zero; a third step that generates a predicted value of each pixel included in the remaining partial decoding target image which was not decoded by the first step, based on the predicted value generation procedure produced by the second step; a fourth step that decodes encoded data for a prediction residual signal computed using the predicted pixel value which was generated based on the predicted value generation procedure decoded by the second step, where the encoded data was generated on an encoding side; and a fifth step that reproduces the remaining partial decoding target image which was not decoded by the first step, based on the predicted pixel value generated by the third step and the prediction residual signal decoded by the fourth step.
 8. A predicted pixel value generation procedure automatic producing apparatus used for producing a predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the apparatus comprising: a first device that generates a parent population by randomly producing predicted value generation procedures each of which is indicated by a tree structure; a second device that selects a plurality of predicted value generation procedures as parents from the parent population, and produces one or more predicted value generation procedures as children based on a predetermined tree structure developing method which subjects the selected predicted value generation procedures to a development where an existing predicted value generation function can be an end node of a tree; a third device that: selects a predicted value generation procedure having a minimum estimation cost from among the predicted value generation procedures as the parents and children, where the sum of an information content for representing the tree structure and an amount of code evaluated by a predicted pixel value obtained by the tree structure is used as an estimation cost, and the selected predicted value generation procedure has the best estimation cost for encoding an encoding target image; and stores the selected predicted value generation procedure and one or more other predicted value generation procedures into the parent population; and a fourth device that performs a control so as to iterate processes performed by the second and third devices until a predetermined condition is satisfied, and produces a predicted value generation procedure having a best estimation cost as the result of the iteration to be a final predicted value generation procedure.
 9. The predicted pixel value generation procedure automatic producing apparatus in accordance with claim 8, wherein: the second device produces the predicted value generation procedures as the children based on the predetermined tree structure developing method which performs the development where a function which outputs coordinates of a pixel within an image can be an end node of a tree.
 10. The predicted pixel value generation procedure automatic producing apparatus in accordance with claim 8, wherein: the first device generates the parent population so that an existing predicted value generation function is included in the parent population.
 11. An image encoding apparatus of encoding an image using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the apparatus comprising: a first device that produces a predicted value generation procedure having a best estimation cost for encoding an encoding target image, by means of an operation of the predicted pixel value generation procedure automatic producing apparatus in accordance with claim 8; a second device that encodes the predicted value generation procedure produced by the first device; a third device that generates a predicted value of each pixel included in the encoding target image based on the predicted value generation procedure produced by the first device; and a fourth device that encodes a prediction residual signal computed based on the predicted pixel value generated by the third device.
 12. An image decoding apparatus of decoding encoded data of an image which was encoded using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the apparatus comprising: a first device that decodes encoded data for a predicted value generation procedure produced by an operation of the predicted pixel value generation procedure automatic producing apparatus in accordance with claim 8, where the encoded data was generated on an encoding side; a second device that generates a predicted value of each pixel included in a decoding target image based on the predicted value generation procedure decoded by the first device; and a third device that decodes encoded data for a prediction residual signal computed using the predicted pixel value which was generated based on the predicted value generation procedure decoded by the first device, where the encoded data was generated on an encoding side; and a fourth device that reproduces the decoding target image based on the predicted pixel value generated by the second device and the prediction residual signal decoded by the third device.
 13. An image encoding apparatus of encoding an image using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the apparatus comprising: a first device that encodes a partial encoding target image having a predetermined size, by using an existing predicted pixel value generation procedure produced not based on a tree structure developing method; a second device that produces a predicted value generation procedure having a best estimation cost for encoding a decoded image obtained during the encoding of the partial encoding target image by the first device, by means of an operation of the predicted pixel value generation procedure automatic producing apparatus in accordance with claim 8, which estimates an information content for representing a tree structure to be zero; a third device that generates a predicted value of each pixel included in the remaining partial encoding target image which was not encoded by the first device, based on the predicted value generation procedure produced by the second device; and a fourth device that encodes a prediction residual signal computed based on the predicted pixel value generated by the third device.
 14. An image decoding apparatus of decoding encoded data of an image which was encoded using an predicted pixel value generated by a predetermined predicted value generation procedure that predicts a value of an encoding target pixel by using a previously-decoded pixel, the apparatus comprising: a first device that decodes encoded data for a partial decoding target image which has a predetermined size and was encoded using an existing predicted pixel value generation procedure produced not based on a tree structure developing method, where the encoded data was generated on an encoding side; a second device that produces a predicted value generation procedure having a best estimation cost for encoding the partial decoding target image obtained by the first device, by means of an operation of the predicted pixel value generation procedure automatic producing apparatus in accordance with claim 8, which estimates an information content for representing a tree structure to be zero; a third device that generates a predicted value of each pixel included in the remaining partial decoding target image which was not decoded by the first device, based on the predicted value generation procedure produced by the second device; a fourth device that decodes encoded data for a prediction residual signal computed using the predicted pixel value which was generated based on the predicted value generation procedure decoded by the second device, where the encoded data was generated on an encoding side; and a fifth device that reproduces the remaining partial decoding target image which was not decoded by the first device, based on the predicted pixel value generated by the third device and the prediction residual signal decoded by the fourth device.
 15. A predicted pixel value generation procedure automatic producing program by which a computer executes the predicted pixel value generation procedure automatic producing method in accordance with claim
 1. 16. A computer-readable storage medium which stores a predicted pixel value generation procedure automatic producing program by which a computer executes the predicted pixel value generation procedure automatic producing method in accordance with claim
 1. 17. An image encoding program by which a computer executes the image encoding method in accordance with claim 4 or
 6. 18. A computer-readable storage medium which stores an image encoding program by which a computer executes the image encoding method in accordance with claim 4 or
 6. 19. An image decoding program by which a computer executes the image decoding method in accordance with claim 5 or
 7. 20. A computer-readable storage medium which stores an image decoding program by which a computer executes the image decoding method in accordance with claim 5 or
 7. 